package com.conghu.crm.utils;

public class ServiceFactory {
	
	public static Object getService(Object service){

		//返回一个能自动提交事务的代理类
		return new TransactionInvocationHandler(service).getProxy();
		
	}
	
}
